package com.czmh.etc.interpreter.entity.response;

import com.czmh.etc.interpreter.entity.base.EnMessagetype;
import com.czmh.etc.interpreter.entity.base.Header;

/**
 * Created by Huangyk on 2019/6/5.
 */
public class LoadCheckResponse extends Header {
    public static int MSG_LEN = Header.HEADER_LEN + 81;

    private String PosID;
    /// <summary>
    /// 终端机编号
    /// </summary>
    private String TerminalID;
    /// <summary>
    /// 处理结果，0：接受成功，1：申请报文校验失败，2：ftp文件失败，3：扣款文件校验失败。
    /// </summary>
    private byte Flag;
    /// <summary>
    /// 对账日期
    /// </summary>
    private String WorkDate;
    /// <summary>
    /// 对账银行代码
    /// </summary>
    private String BankID;
    /// <summary>
    /// 对账文件名
    /// </summary>
    private String FileName;

    private String data;

    public LoadCheckResponse() {
        super(EnMessagetype.LoadCheckAccountsResponse);
    }

    //region getter && setter
    public String getPosID() {
        return PosID;
    }

    public void setPosID(String posID) {
        PosID = posID;
    }

    public String getTerminalID() {
        return TerminalID;
    }

    public void setTerminalID(String terminalID) {
        TerminalID = terminalID;
    }

    public byte getFlag() {
        return Flag;
    }

    public void setFlag(byte flag) {
        Flag = flag;
    }

    public String getWorkDate() {
        return WorkDate;
    }

    public void setWorkDate(String workDate) {
        WorkDate = workDate;
    }

    public String getBankID() {
        return BankID;
    }

    public void setBankID(String bankID) {
        BankID = bankID;
    }

    public String getFileName() {
        return FileName;
    }

    public void setFileName(String fileName) {
        FileName = fileName;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
    //endregion
}
